package org.spider.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@Data
public class DownloadResponse implements Serializable {

    /**响应编码*/
    private int statusCode;
    /**响应内容字符串*/
    private String rawText;
    /**响应的字符集编码*/
    private String charset;
    /**请求实体*/
    private DownloadRequest downloadRequest;
    /**响应字节流*/
    private byte[] bytes;
    /**响应cookie*/
    private String resCookie;
    /**响应头*/
    private Map<String, String> headerMap;
}
